
<link rel="stylesheet" href="../addons/jy_sns/custom/templates/mobile/images/common.css" />
<style type="text/css">
    .sns-content-info{max-height:4rem;line-height: 1rem;overflow: hidden;}
    .sns-card-show{padding:0 0.5rem 0.5rem;height:1.5rem;display: block;font-style: normal;color:#0290be;font-size:0.7rem;}
</style>
<div class='fui-page fui-page-current  fui-page-current sns-board-page'>
    <div class="fui-header">
        <div class="fui-header-left">
            <a class="back" ng-click="goback()"></a>
        </div>
        <div class="title">精华区</div>
        <div class="fui-header-right btn-edit">&nbsp;</div>
    </div>
    <div class="fui-content">
        <div ng-include="sys_html('_list')"></div>
    </div>
</div>
</div>
<!--投诉start-->
<div ng-if="pagedata.op=='complain'" id="sns-board-complain-page" class='fui-page sns-board-reply-page'>
    <div class="fui-header">
        <div class="fui-header-left">
            <a class="back">取消</a>
        </div>
        <div class="title">投诉</div>
        <div class="fui-header-right"></div>
    </div>
    <div class="fui-content navbar">
        <div class="fui-cell-group" style="margin-top:0;">
            <div class="complain-title">
                我要投诉的是<span id="post_member"></span>的<span class="complain-type-span"></span>
            </div>
            <input type="hidden" id="complain_type" name="complain_type" value="">
            <div class="complain-type">
                <p>请您选择投诉类别：</p>
               
                <span ng-repeat="item in pagedata.catelist" class="fui-lg-1 fui-md-2 fui-sm-3 fui-xs-4"><a href="javascript:void(0);" data-type="{{item.id}}">{{item.name}}</a></span>
                
                <span class="fui-lg-1 fui-md-2 fui-sm-3 fui-xs-4"><a href="javascript:void(0);" data-type="-1">其他</a></span>
                <div style="clear:both;"></div>
            </div>
            <div class="fui-cell">
                <div class="fui-cell-info">
                    <textarea placeholder="内容 10-500个字" rows="8" id="complain_text"></textarea>
                </div>
            </div>
            <div class="fui-cell reply-func-cell">
                <div class="fui-cell-info post-func">
                    <i class="icon icon-pic" id="complain-pic"></i>
                </div>
            </div>

           <div ng-if="pagedata.board.noimage==''" class='fui-cell complain-image'>
                <div class='fui-cell-info'>
                    <ul class="fui-images fui-images-md"></ul>
                    <div class="fui-uploader fui-uploader-md"
                         data-max="{{set.imagesnum}}"
                         data-count="0">
                        <input type="file" name='complainimg[]' id='complainimg{{g.id}}' multiple="" accept="image/*" >
                    </div>
                </div>
            </div>
        </div>
        <a href="javascript:void(0);" class="btn btn-sns-submit" id="btnCompSend">提交</a>
    </div>
</div>
<!--投诉end-->
<div ng-include="sys_html('_menu')"></div>
<script>
scope.tool.get_list('jy_sns/index/getlist/bid='+scope.pagedata.board.id);
scope.pagedata.scroll_bottom=function(){
	scope.tool.get_list('jy_sns/index/getlist/');
}	
</script>

